home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 27 / CU Amiga Magazine's Super CD-ROM 27 (1998)(EMAP Images)(GB)[!][issue 1998-10].iso / CUCD / Programming / THXPlayLib / developer / C / clib / thxplay_protos.h
Encoding:
C/C++ Source or Header  |  1998-06-05  |  933 b   |  44 lines

  1. #ifndef CLIB_THXPLAY_PROTOS_H
  2. #define CLIB_THXPLAY_PROTOS_H
  3.  
  4. /* $VER: thxplay_protos.h 5.2 (11.05.98) */
  5.  
  6. #ifndef EXEC_TYPES_H
  7. #include <exec/types.h>
  8. #endif
  9.  
  10. #ifndef EXEC_TASKS_H
  11. #include <exec/tasks.h>
  12. #endif
  13.  
  14. /* allocation functions */
  15. ULONG thxInit(APTR module);
  16. void thxFree(void);
  17.  
  18. /* song control functions */
  19. void thxPlay(void);
  20. void thxStop(void);
  21. void thxPause(void);
  22. void thxWind(ULONG volume);
  23.  
  24. /* volume control functions */
  25. ULONG thxGetVolume(void);
  26. void thxSetVolume(ULONG volume);
  27.  
  28. /* multisong support functions */
  29. ULONG thxGetNumSongs(void);
  30. void thxSetSong(ULONG song);
  31.  
  32. /* noteplay functions */
  33. void thxPlayNote(ULONG channel, ULONG note, ULONG instrument);
  34. void thxStopNote(ULONG channel);
  35. void thxNoteFX(ULONG channel, ULONG effect, ULONG parameter);
  36.  
  37. /* misc functions */
  38. void thxSignalEnd(struct Task *task, ULONG signalset);
  39. BOOL thxSongEnded(void);
  40. ULONG thxSyncByte(void);
  41. ULONG thxPlaytime(void);
  42.  
  43. #endif
  44.